"""
mkvirtualenv HelloDjango -p /usr/bin/python3 创建python3的虚拟环境
workon xxx
deactivate  (exit)
pip freeze / list
pip install django==1.11.7    (install django ver:1.11.7)

django-admin startproject xxx    创建django项目 name:xxx

├── hellodjango
│   ├── __init__.py
│   ├── __pycache__
│   │   ├── __init__.cpython-36.pyc
│   │   └── settings.cpython-36.pyc
│   ├── settings.py
│   ├── urls.py
│   └── wsgi.py
└── manage.py



"""

"""
python manage.py startapp App    创建工程App

├── App
│   ├── admin.py
│   ├── apps.py
│   ├── __init__.py
│   ├── migrations
│   │   └── __init__.py
│   ├── models.py
│   ├── tests.py
│   └── views.py


"""


"""
make it hello:
python manage.py runserver


http://127.0.0.1:8000/
worked

"""



"""
ploblem:

time&language problem:

'hellodjango.settings'
LANGUAGE_CODE = 'zh-hans'
TIME_ZONE = 'Asia/Shanghai'

w:
    1:
    You have 13 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions.
    Run 'python manage.py migrate' to apply them.
        python manage.py migrate
    
    2:
    You're seeing this message because you have DEBUG = True in your Django settings file and you haven't configured any URLs. Get to work! 




"""

"""
在manage的上一级打开django项目

"""

"""
sqlite3
"""